package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 会话存档密钥配置表(MsgEncryptConfig)表实体类
 *
 * @author danmo
 * @since 2024-03-14 19:27:17
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("msg_encrypt_config")
public class MsgEncryptConfig extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -14660365324953260L;

    /**
     * 主键ID
     */

    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 会话存档公钥
     */
    @Schema(description = "会话存档公钥")
    @TableField("public_key")
    private String publicKey;


    /**
     * 会话存档私钥
     */
    @Schema(description = "会话存档私钥")
    @TableField("private_key")
    private String privateKey;


    /**
     * 版本号
     */
    @Schema(description = "版本号")
    @TableField("version")
    private Integer version;


}

